package com.itheima.service;

import com.itheima.dto.ShoppingCarDto;
import com.itheima.pojo.ShoppingCar;
import com.itheima.vo.ShoppingCarVo;

import java.util.List;

/**
 * @author :WuJunJie
 * packageName :com.itheima.service
 * fileName :ShopingCarService
 * creationTime :2022-11-27 16:34
 */

public interface ShoppingCarService {
    ShoppingCarVo insertShoppingCar(ShoppingCarDto shoppingCarDto);

    List<ShoppingCarVo> selectShoppingCar();

    ShoppingCarVo deleteShoppingCar(ShoppingCarDto shoppingCarDto);


    Boolean deleteAllShoppingCar();



    List<ShoppingCar> selectListByUserId();
}
